package com.tourlaid.mamagerment.service

import com.tourlaid.mamagerment.entity.ShopGoods

/**
 * Created by xiaoyongge on 2017/8/1.
 */
interface ShopGoodsService {

    fun  queryForList(): List<ShopGoods>
    /**
     * 增加库存
     */
    fun plusStock(shopId: Long?, stockInId: Long, stock: Int?)

    fun insert(shopId: Long, goodsId: Long, stock: Int)

    fun minusStock(shopId: Long?, stockInId: Long, stock: Int?)
}